﻿<?php
/**
 * 数据服务器配置文件
 * User: xbx
 * Date: 2018/3/1
 * Time: 14:41
 */
return array(
    'server' => array(
        "reactor_num"=> HTTP_CPU_NUM, //swoole_cpu_num() ,
        "worker_num"=> HTTP_CPU_NUM, //swoole_cpu_num(), // * 2,
        "daemonize"=>false,
        'pid_file' => __DIR__.'/http.pid',
        "log_file" => __DIR__ . '/log/httpdata.log',//daemonize=>true以后
        'max_request' => 0,
        'upload_tmp_dir' => '/tempfiles/',
     //   'dispatch_mode' => 3,//默认2
     //   'enable_unsafe_event'=>true, //dispatch_mode 1和3时启用
    ),
);
